﻿using SqlPerfomance.V2.DAL;
using SqlPerfomance.V2.DomainModel.Enums;
using SqlPerfomance.V2.DomainModel.Models;
using SqlPerfomance.V2.DomainModel.NodeTree.Interfaces;
using SqlPerfomance.V2.Tests.Code;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SqlPerfomance.V2.Tests.TestsCommand
{
    public class AlTestsCommand : BaseTestCommand<AdjancyListTreeNode>
    {
        public AlTestsCommand(ConnectionStrings connectionString)
            :base(connectionString)
        { }

        protected override RealDataRepository<AdjancyListTreeNode> Repository
        {
            get { return new AdjancyListTreeRepository(); }
        }

        protected override ISqlTestOperation Tests
        {
            get { return new AlTests(_connectionString, _tableName); }
        }

        protected override EnumHierarchyTestType EnumHierarchyTestType
        {
            get { return Code.EnumHierarchyTestType.AdjancyList; }
        }
    }
}
